package com.ctg.itrdc.imageconsole.data.dao;

import java.util.List;

import com.ctg.itrdc.imageconsole.data.dto.image.RepositoryDTO;
import com.ctg.itrdc.imageconsole.data.entity.UserImageShare;
import com.ctg.itrdc.paspsdk.common.entity.PageInfo;
import com.ctg.itrdc.paspsdk.data.dao.IBaseCacheDao;
import com.ctg.itrdc.paspsdk.data.dao.IBaseDao;


public interface IUserImageShareDao extends IBaseCacheDao, IBaseDao {

	public PageInfo<RepositoryDTO> getImagesOfShare(Long currentUserId, Integer pageNum, Integer pageSize);
	
	public void deleteByTagIdAndRelateUserId(Long tagId, Long relateUserId);
	
	public List<UserImageShare> getSharesByUserId(Long currentUserId);
}
